package service.iml;

import pojo.Course;
import pojo.Course_Lesson;
import pojo.Course_Section;

import java.util.List;

public interface ServiceDao {
    public List<Course> findCourseList();
    public List<Course> findByCourseNameAndStatus(String course_name,String status);
    public Course findCourseById(int id);
    public String courseSalesInfo(Course course);
    public String updateCourse(Course course);
    public String updateCourseStatus(int id ,int status);
    public List<Course_Section> findSectionCourseId(int courseId);
    public String saveSection(Course_Section course_section);
    public String updateSectionStatus(Course_Section course_section);
    public String saveLesson(Course_Lesson course_lesson);
    public String updateLesson(Course_Lesson course_lesson);
}
